PDFView4NET WPF Edition
MoveItem Method (PDFCollection<T,K>)




O2S.Components.PDFView4NET Namespace > PDFCollection<T,K> Class : MoveItem Method
Item to move.
Number of positions to move.
Moves the item up or down to the beginning or end of the collection.
Syntax
'Declaration
 
Public Overridable Function MoveItem( _
   ByVal item As T, _
   ByVal step As Integer _
) As Boolean
'Usage
 
Dim instance As PDFCollection(Of T,K)
Dim item As T
Dim step As Integer
Dim value As Boolean
 
value = instance.MoveItem(item, step)
public virtual bool MoveItem( 
   T item,
   int step
)
public: virtual bool MoveItem( 
   T* item,
   int step
) 
public:
virtual bool MoveItem( 
   T^ item,
   int step
) 

Parameters

item
Item to move.
step
Number of positions to move.

Return Value

True if the item has been moved.
Remarks
It the new position is outside the collection, the item is not moved.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PDFCollection<T,K> Class
PDFCollection<T,K> Members